__author__ = 'Tony'
import ImageGrab
import time

a = time.time()
for i in xrange(1000):
    img = ImageGrab.grab()
b = time.time()

print b - a